using UnityEngine;
using System.Collections;

/* TODO:
 * 1- Not realy sure yet...
 */

public class LanceBehaviour : MonoBehaviour {

	public LanceControll lanceController;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnCollisionEnter(Collision collision){
		rigidbody.isKinematic = false;
		lanceController.setHasHit(true);
	}
}
